import instance from '@/utils/request';

//盘点列表
export function GetCheckDtoPes(data) {
    return instance.request({
        url: "/api/Checks/GetCheckDtoPes",
        method: "post",
        data
    })
}
//盘点删除
export function DelCheck(data) {
    return instance.request({
        url: "/api/Checks/DelCheck",
        method: "post",
        data
    })
}
//盘点批量删除
export function DeleteBatchCheck(data) {
    return instance.request({
        url: "/api/Checks/DeleteBatchCheck",
        method: "post",
        data
    })
}
//盘点、盘点明细添加
export function AddCheck(data) {
    return instance.request({
        url: "/api/Checks/AddCheck",
        method: "post",
        data
    })
}
//盘点、盘点明细添加
export function ReckCheck(data) {
    return instance.request({
        url: "/api/Checks/ReckCheck",
        method: "post",
        data
    })
}
//盘点明细修改
export function UpdateCheckDetail(data) {
    return instance.request({
        url: "/api/Checks/UpdateCheckDetail",
        method: "post",
        data
    })
}
//盘点、盘点明细修改
export function UpdateCheck(data) {
    return instance.request({
        url: "/api/Checks/UpdateCheck",
        method: "post",
        data
    })
}
//审批
export function UpdateCheckState(data) {
    return instance.request({
        url: "/api/Checks/UpdateCheckState",
        method: "post",
        data
    })
}